- name: d8.flow-schema
  rules:
  - alert: KubernetesAPFRejectRequests
    expr: |
      rate(apiserver_flowcontrol_rejected_requests_total{flow_schema="d8-serviceaccounts"}[5m]) > 5
    for: "5m"
    labels:
      tier: cluster
      severity_level: "9"
      experimental: "true"
    annotations:
      plk_markup_format: markdown
      plk_protocol_version: "1"
      summary: APF flow schema `d8-serviceaccounts` has rejected API requests.
      description: |
        To show APF schema queue requests, use the expr `apiserver_flowcontrol_current_inqueue_requests{flow_schema="d8-serviceaccounts"}`.

        Attention: This is an experimental alert!
